package com.bwie.service;

import com.bwie.utils.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: TaoShiHao
 * @Date: 2025/4/21 19:07
 * @Description:
 **/
@Service
@FeignClient(name = "server-pay-user")
public interface IUserService {
    @PostMapping("/user/index/getUserById/{id}")
    @ApiOperation(value = "根据用户ID获取用户信息")
    public R getUserById(@PathVariable(name = "id")Integer id);
}
